// 行业信息管理

import {request} from './request'


//新增
export function AddIndustry(data){
    return request({
        url:'/api/boss/industry/addIndustry',
        method:'POST',
        data
    })
}

// 删除行业信息
export function DeleteIndustry(id){
    return request({
        url:`/api/boss/industry/deleteIndustry/${id}`,
        method:'DELETE'
    })
}

// 更新行业信息
export function RenewIndustry(data){
    return request({
        url:'/api/boss/industry/updateIndustry',
        method:'POST',
        data
    })
}

//获取行业列表
export function GetIndustry(){
    return request({
        url:'/api/boss/industry/getIndustryList',
        method:'POST'
    })
}